package com.botu.implicit.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: hanzeyao
 * @Date: 2020/2/18 10:09
 * @Description:
 */
@RestController
public class ResourceController {

    @GetMapping("/user/{username}")
    public String userName(@PathVariable String username){
        return "----" + username + "----";
    }
}
